{include file="admin@Public/_header" /}
        <div class="row">

            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5 class="btn btn-sm btn-primary"> 返回</h5>
                        <h5><a href="">菜单列表</a></h5>
                    </div>
                    <div class="ibox-content">
                                <div class="row">
                            <div class="col-sm-5 m-b-xs">
                                <select class="input-sm form-control input-s-sm inline">
                                    <option value="0">请选择</option>
                                    <option value="1">选项1</option>
                                    <option value="2">选项2</option>
                                    <option value="3">选项3</option>
                                </select>
                            </div>
                            <div class="col-sm-4 m-b-xs">
                                <div data-toggle="buttons" class="btn-group">
                                    <label class="btn btn-sm btn-white">
                                        <input type="radio" id="option1" name="options">天</label>
                                    <label class="btn btn-sm btn-white active">
                                        <input type="radio" id="option2" name="options">周</label>
                                    <label class="btn btn-sm btn-white">
                                        <input type="radio" id="option3" name="options">月</label>
                                </div>
                            </div>
                            <div class="col-sm-3">
                                <div class="input-group">
                                    <input type="text" placeholder="请输入关键词" class="input-sm form-control"> <span class="input-group-btn">
                                        <button type="button" class="btn btn-sm btn-primary"> 搜索</button> </span>
                                </div>
                            </div>
                        </div>
                        <button type="button" class="btn btn-info">排序</button>
                        <table class="table table-bordered table-hover">
                            <thead>
                                <tr>
                                    <td>
                                        <input type="checkbox" class="i-checks" name="ids[]" id="ids">
                                    </td>
                                    <th>排序</th>
                                    <th>名称</th>
                                    <th>模块名</th>
                                    <th>控制器</th>
                                    <th>方法名</th>
                                    <th>状态</th>
                                    <th>操作</th>
                                </tr>
                            </thead>
                            <tbody>
                            {php}
                                $menu_statuses=array("1"=>"显示","0"=>"隐藏");
                            {/php}

                            {volist name="info" id="vo"}
                                <tr>
                                    <td>
                                        <input type="checkbox" class="i-checks" name="ids[]">
                                    </td>
                                    <td><input type="text" value="{$vo.listorder}" class="form-control" style="width:50px;" /></td>
                                    <td>{$vo.name}</td>
                                    <td>{$vo.app}</td>
                                    <td>{$vo.model}</td>
                                    <td>{$vo.action}</td>
                                    <td>{$menu_statuses[$vo.status]}</td>
                                    <td><a href="javascript:void(0);" data-url="{:url('del',array('id'=> $vo['id']))}" class="js-ajax-del">删除</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="{:url('edit',array('id'=> $vo['id']))}">编辑
                                    {if condition="$vo['end'] eq 3"}  
                                    
                                    {else /}
                                    &nbsp;&nbsp;|&nbsp;&nbsp;<a href="{:url('add',array('id'=> $vo['id']))}">添加子菜单</a>
                                    {/if}
                                    </a></td>
                                </tr>
                            {/volist}
                                
                          
                                 

                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
{include file="admin@Public/_footer" /}
